package com.lqm.dao;

import com.lqm.entity.admin.AdminUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;


public interface AdminUserDao extends JpaRepository<AdminUser,Integer>,PagingAndSortingRepository<AdminUser,Integer> {
    AdminUser findAllByUsernameAndPassword(String username,String password);

    AdminUser findById(int id);

}
